public class Array04{
	public static void main(String[] args) {
		int [] num = {1,2,3,4,5,6};
		int [] temp = new int[num.length];
		for (int i = num.length - 1; i >= 0; i--) {
		 	temp[num.length-1-i] = num [i];
		 } 
		 for (int i =0; i < num.length; i++) {
		 	System.out.println(temp[i]);
		 } 
	}
}